<?php

declare (strict_types=1);
namespace App\Medium\Model;

use Base\Model\AbstractModel;
/**
 * @property int $id 
 * @property string $media_id 素材媒体标识[有效期3天]
 * @property int $last_upload_time 上一次微信素材上传的时间戳
 * @property int $type 类型 1文本、2图片、3音频、4视频、5小程序、6文件素材
 * @property int $is_sync 是否同步素材库(1-同步2-不同步，默认:1)
 * @property string $content 具体内容:
 * @property int $medium_group_id 素材分组ID medium_group.id
 * @property int $user_id 上传者ID
 * @property string $user_name 上传者名称
 * @property int $corp_id 企业Id
 * @property string $tenant_id 租户ID
 * @property int $create_user 创建人
 * @property int $create_dept 创建部门
 * @property string $create_time 创建时间
 * @property int $update_user 修改人
 * @property string $update_time 修改时间
 * @property int $is_deleted 是否已删除
 * @property string $deleted_at 
 */
class QxmMedium extends AbstractModel
{
    use \Hyperf\Database\Model\Concerns\CamelCase;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'qxm_medium';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'last_upload_time' => 'integer', 'type' => 'integer', 'is_sync' => 'integer', 'medium_group_id' => 'integer', 'user_id' => 'integer', 'corp_id' => 'integer', 'create_user' => 'integer', 'create_dept' => 'integer', 'update_user' => 'integer', 'is_deleted' => 'integer'];
}